package com.imooc.xunwu.repository;

import com.imooc.xunwu.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Auther: hyr
 * @Date: 2018/10/24 09:13
 * @Description:
 */
public interface UserRepository extends JpaRepository<User,Long> {


    User findUserByName(String name);
}
